/*
 *  		MAG - A Dungeon Adventuring Game
 *
 *	Copyright (C) 1986,87,88 by Michael J. Teixeira
 *
 *  General permission to copy or modify, but not for profit, is hereby
 *  granted, provided that the above copight notice is included.
 *
 */

int	(*cmd[])() = {		/* this file contains all of the key/     */
/* ^@ */	illegal,	/* command bindings (that is: which procs */
/* ^A */	illegal,	/* are called when a key is typed)        */
/* ^B */	logbug,
/* ^C */	doquit,
/* ^D */	wdetect,
/* ^E */	execute,
/* ^F */	illegal,
/* ^G */	wgeno,
/* ^H */	helpsym,
/* ^I */	wident,
/* ^J */	illegal,
/* ^K */	utilize,
/* ^L */	remap,
/* ^M */	wmonstat,
/* ^N */	illegal,
/* ^O */	illegal,
/* ^P */	illegal,
/* ^Q */	illegal,
/* ^R */	reprint,
/* ^S */	illegal,
/* ^T */	wtorch,
/* ^U */	utilize,
/* ^V */	illegal,
/* ^W */	wmode,
/* ^X */ 	wexp,
/* ^Y */	illegal,
/* ^Z */	illegal,
/* ^[ */	abrt,
/* ^\ */	illegal,
/* ^] */	illegal,
/* ^^ */	illegal,
/* ^_ */	illegal,
/*   */ 	nothin,
/* ! */ 	list_obj,
/* " */ 	list_obj,
/* # */		wmap,
/* $ */ 	list_obj,
/* % */ 	list_obj,
/* & */		wexpstat,
/* ' */ 	illegal,
/* ( */ 	illegal,
/* ) */ 	list_obj,
/* * */ 	list_obj,
/* + */ 	stepdown,
/* , */ 	list_obj,
/* - */ 	stepup,
/* . */ 	rest,
/* / */ 	list_obj,
/* 0 */ 	multi,
/* 1 */ 	multi,
/* 2 */ 	multi,
/* 3 */ 	multi,
/* 4 */ 	multi,
/* 5 */ 	multi,
/* 6 */ 	multi,
/* 7 */ 	multi,
/* 8 */ 	multi,
/* 9 */ 	multi,
/* : */ 	multirest,
/* ; */		multisearch,
/* < */ 	stepup,
/* = */ 	list_obj,
/* > */ 	stepdown,
/* ? */ 	list_obj,
/* @ */ 	wtele,
/* A */ 	howmoves,
/* B */ 	run,
/* C */		carry,
/* D */ 	wdetect,
/* E */		extinguish,
/* F */ 	stomach,
/* G */ 	whatgeno,
/* H */ 	run,
/* I */ 	utilize,
/* J */ 	run,
/* K */ 	run,
/* L */ 	run,
/* M */ 	wmk_mon,
/* N */ 	run,
/* O */ 	wmk_obj,
/* P */ 	carry,
/* Q */ 	doquit,
/* R */ 	remember,
/* S */ 	utilize,
/* T */ 	saytitle,
/* U */ 	run,
/* V */ 	version,
/* W */ 	utilize,
/* X */		utilize,
/* Y */ 	run,
/* Z */ 	illegal,
/* [ */ 	list_obj,
/* \ */ 	illegal,
/* ] */ 	list_obj,
/* ^ */ 	wdettraps,
/* _ */ 	illegal,
/* ' */ 	illegal,
/* a */ 	already,
/* b */ 	walk,
/* c */ 	utilize,
/* d */ 	utilize,
/* e */ 	utilize,
/* f */ 	find,
/* g */ 	get,
/* h */ 	walk,
/* i */ 	inventory,
/* j */ 	walk,
/* k */ 	walk,
/* l */ 	walk,
/* m */ 	wadvance,
/* n */ 	walk,
/* o */ 	option,
/* p */ 	utilize,
/* q */ 	utilize,
/* r */ 	utilize,
/* s */ 	search,
/* t */ 	utilize,
/* u */ 	walk,
/* v */ 	view,
/* w */ 	utilize,
/* x */ 	exchange,
/* y */ 	walk,
/* z */ 	utilize,
/* { */ 	startmacro,
/* | */ 	wmakewall,
/* } */ 	endmacro,
/* ~ */ 	getshell,
/* DEL */	helpcmd,

/* 0 */		illegal,	/* from this point are the special keys */
/* 1 */		illegal,
/* 2 */		illegal,
/* NULL */	illegal,
/* 4 */		illegal,
/* 5 */		illegal,
/* 6 */		illegal,
/* 7 */		illegal,
/* 8 */		illegal,
/* 9 */		illegal,
/* 10 */	illegal,
/* 11 */	illegal,
/* 12 */	illegal,
/* 13 */	illegal,
/* 14 */	illegal,
/* S-TAB */	illegal,
/* ALT-Q */	illegal,
/* ALT-W */	illegal,
/* ALT-E */	illegal,
/* ALT-R */	illegal,
/* ALT-T */	illegal,
/* ALT-Y */	illegal,
/* ALT-U */	illegal,
/* ALT-I */	illegal,
/* ALT-O */	illegal,
/* ALT-P */	illegal,
/* 26 */	illegal,
/* 27 */	illegal,
/* 28 */	illegal,
/* 29 */	illegal,
/* ALT-A */	illegal,
/* ALT-S */	illegal,
/* ALT-D */	illegal,
/* ALT-F */	illegal,
/* ALT-G */	illegal,
/* ALT-H */	illegal,
/* ALT-J */	illegal,
/* ALT-K */	illegal,
/* ALT-L */	illegal,
/* 39 */	illegal,
/* 40 */	illegal,
/* 41 */	illegal,
/* 42 */	illegal,
/* 43 */	illegal,
/* ALT-Z */	illegal,
/* ALT-X */	illegal,
/* ALT-C */	illegal,
/* ALT-V */	illegal,
/* ALT-B */	illegal,
/* ALT-N */	illegal,
/* ALT-M */	illegal,
/* 51 */	illegal,
/* 52 */	illegal,
/* 53 */	illegal,
/* 54 */	illegal,
/* 55 */	illegal,
/* 56 */	illegal,
/* 57 */	illegal,
/* 58 */	illegal,
/* F1 */	helpcmd,
/* F2 */	helpsym,
/* F3 */	inventory,
/* F4 */	option,
/* F5 */	already,
/* F6 */	view,
/* F7 */	multisearch,
/* F8 */	multirest,
/* F9 */	execute,
/* F10 */	getshell,
/* 69 */	illegal,
/* 70 */	illegal,
/* HOME */	walk,
/* UP-ARROW */	walk,
/* PGUP */	walk,
/* 74 */	illegal,
/* LT-ARROW */	walk,
/* 76 */	illegal,
/* RT-ARROW */	walk,
/* 78 */	illegal,
/* END */	walk,
/* DN-ARROW */	walk,
/* PGDN */	walk,
/* INSERT */	illegal,
/* DELETE */	illegal,
/* SHIFT-F1 */	illegal,
/* SHIFT-F2 */	illegal,
/* SHIFT-F3 */	illegal,
/* SHIFT-F4 */	illegal,
/* SHIFT-F5 */	illegal,
/* SHIFT-F6 */	illegal,
/* SHIFT-F7 */	illegal,
/* SHIFT-F8 */	illegal,
/* SHIFT-F9 */	illegal,
/* SHIFT-F10 */	illegal,
/* CTRL-F1 */	illegal,
/* CTRL-F2 */	illegal,
/* CTRL-F3 */	illegal,
/* CTRL-F4 */	illegal,
/* CTRL-F5 */	illegal,
/* CTRL-F6 */	illegal,
/* CTRL-F7 */	illegal,
/* CTRL-F8 */	illegal,
/* CTRL-F9 */	illegal,
/* CTRL-F10 */	illegal,
/* ALT-F1 */	illegal,
/* ALT-F2 */	illegal,
/* ALT-F3 */	illegal,
/* ALT-F4 */	illegal,
/* ALT-F5 */	illegal,
/* ALT-F6 */	illegal,
/* ALT-F7 */	illegal,
/* ALT-F8 */	illegal,
/* ALT-F9 */	illegal,
/* ALT-F10 */	illegal,
/* C-PRTSC */	illegal,
/* C-LT-ARW */	illegal,
/* C-RT-ARW */	illegal,
/* C-END */	illegal,
/* C-PGDN */	illegal,
/* C-HOME */	illegal,
/* ALT-1 */	illegal,
/* ALT-2 */	illegal,
/* ALT-3 */	illegal,
/* ALT-4 */	illegal,
/* ALT-5 */	illegal,
/* ALT-6 */	illegal,
/* ALT-7 */	illegal,
/* ALT-8 */	illegal,
/* ALT-9 */	illegal,
/* ALT-0 */	illegal,
/* ALT-- */	illegal,
/* ALT-= */	illegal,
/* C-PGUP */	illegal,
};
